package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Dynamic;
import cn.wolfcode.trip.base.domain.DynamicComment;
import cn.wolfcode.trip.base.query.DynamicLikeUsersQueryObject;
import cn.wolfcode.trip.base.query.DynamicQueryObject;

import java.util.List;

public interface DynamicMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Dynamic record);

    Dynamic selectByPrimaryKey(Integer id);

    List<Dynamic> selectAll();

    int updateByPrimaryKey(Dynamic record);

    List<Dynamic> queryForList(DynamicQueryObject qo);

}